package app.biz.service;

import app.biz.model.ClientInfo;
import app.biz.model.LogObject;
import org.bson.Document;

/** Created by gulx@neusoft.com on 2018/12/5. */
public interface LogService {

  /**
   * 记录业务日志
   *
   * @param logObject 日志对象
   */
  void bizlog(LogObject logObject);

  /**
   * 记录业务日志
   *
   * @param logObject 日志对象
   * @param clientInfo 客户端对象
   */
  void bizlog(LogObject logObject, ClientInfo clientInfo);

  Document queryBizlogBySID(long sid);
}
